DirectAdmin Forums

ساخت وبلاگ
I just setup a new clean Ubuntu 22.04 VPS with installed DirectAdmin, configured the primary/only domain and published a website. HTML pages of the site work fine, but php pages are downloaded by the browser instead of loaded and executed.DirectAdmin is configured with nginx_apache. I first tried several versions of php-fpm, 8.1 and 8.2 would partially load the php pages of the site, and 8.3 seemed to work fine, the pages fully loaded as expected. However, beyond the main php page, the site utilizes link rewrites to generate "pretty" URLs to sub-pages which are php. I figured out that php-fpm doesn't support .htaccess. I reconfigured PHP to use fastcgi, tried both 8.3 and 7.4 (current server hosting the site is 7.4), but both of those options result in the php pages downloading as files instead of loading/executing. I've enabled htscanner in CustomBuild, ran ./build for php and php_htscanner2, ran rewrite_confs from CLI and CustomBuild, restarted apache and nginx, tried toggling php_ini (current/default = "no") and secure_php (current/default = "yes") options in CustomBuild and so far I'm getting nowhere.I will also need to host WordPress sites on this server, but one step at a time for now.Any help would be greatly appreciated. DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 27 تاريخ : يکشنبه 29 بهمن 1402 ساعت: 4:06

Would there be any advantage/disadvantage to setting up the DA server using this domain, and then giving it the hostname web.acme.com? Best is not to use default names for hostnames, so no mail or www, imap and such, could give troubles later.However, web is not a default name so yes that would be possible. The hostname doesn't really matter, you can also user server, srv1, vps, my or whatever you like.I don't use Cloudflare DNS, but if you would like to switch to your own nameservers later on, then it might be easier to already have the correct domain in use.For example if I would have acme.com and I plan maybe to later on use ns1.acme.com and ns2.acme.com then I would use web.acme.com or server.acme.com as the hostname for example.If you rather use acmehosting.com for your nameservers, then I personally also would use something like server.acmehosting.com for the hostname.Benefit of running own nameservers? For sure.You don't have any fuzz with exteal nameservers, all options can be done via DA. Next to that, no issues with automatic SSL certificates, no need to configure LEGO, this all works automatically.Be aware that some registrars do not accept the same ip for 2 nameservers, so in some cases a secondary ip is required or a cheap vps with for example Directslave running as secondary nameserver. It all depends what you want.The reason for the hierarchie is safety. I wouldn't set every domain under admin unless you're the only customer on the DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 26 تاريخ : يکشنبه 29 بهمن 1402 ساعت: 4:06

Thanks for clarification.

Database size is now retrieved much more efficiently than before, so there is no real performance benefit in not counting it. Option show-db-usage will be eligible for removal in future releases.

Global PhpMyAdmin access is available from the main menu (Extra Features section). It will give you access to all databases. So we decided there is need to duplicate it inside the DB list page.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 26 تاريخ : يکشنبه 29 بهمن 1402 ساعت: 4:06

A Wordpress website is not accessible after recently wordpress update 8.x versionThe error :ForbiddenYou don't have permission to access this resource.Root Cause : Comodo rule with ID 218500 is false-positively triggered when Woocommerce 8.x is in us ( depends plugins and version )The lines below can be found in /var/log/[ http or nginx ]/domains > example.com.error.log:22:48:56 [error] 2311512#0: *127470 [client 37.6.255.227] ModSecurity: Access denied with code 403 (phase 2). Matched "Operator `Rx' with parameter `[[]x22',().]{10}$|b(?:unionsallsselects(??:null|d+),?)+|ordersbysd{1,4}|(?:and|or)sd{4}=d{4}|waitforsdelays'd+:d+:d+'|(?:select|and|or)s(??g_)?sleep(d+)|d+s?=s?(?:dbms (436 characters omitted)' against variable `REQUEST_COOKIES:sbjs_first_add' (Value: `fd%3D2024-01-16%2008%3A20%3A34%7C%7C%7Cep%3Dhttps%3A%2F%example.com%2F%7C%7C%7Crf%3D%28none%29' ) [file "/usr/local/cwaf/rules/22_SQL_SQLi.conf"] [line "109"] [id "218500"] [rev "18"] [msg "COMODO WAF: SQLmap attack detected||example.com|F|2"] [data "Matched Data: |||rf=(none) found within REQUEST_COOKIES:sbjs_first_add: fd=2024-01-16 08:20:34|||ep=https:/example.com/|||rf=(none)"] [severity "2"] [ver ""] [maturity "0"] [accuracy "0"] [tag "CWAF"] [tag "SQLi"] [hostname "10.0.0.5"] [uri "/wp-admin/admin-ajax.php"] [unique_id "170543813693.032521"] [ref "v5,24o77,12v1383,163t:urlDecodeUni,t:htmlEntityDecode,t:normalizePath,t:compressWhiteSpace,t:lowercaseo46,12v985,95t:urlDecodeUni,t:ht DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 383 تاريخ : يکشنبه 1 بهمن 1402 ساعت: 18:00

I activated the automatic backup of the host, but it does not run at the scheduled time, what is the reason?
DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 43 تاريخ : يکشنبه 1 بهمن 1402 ساعت: 18:00

Hello,I installed a fresh copy of DA yesterday and today I found that named is not running.Error:Jan 25 15:07:02 server.domain.com bash[9717]: zone server.domain2.com/IN: loading from master file /var/named/server.domain.com.db failed: file not foundJan 25 15:07:02 server.domain.com bash[9717]: zone server.domain2.com/IN: not loaded due to errors.Jan 25 15:07:02 server.domain.com bash[9717]: _default/server.domain2.com/IN: file not foundJan 25 15:07:02 server.domain.com systemd[1]: named.service: control process exited, code=exited status=1Jan 25 15:07:02 server.domain.com systemd[1]: Failed to start Berkeley Inteet Name Domain (DNS).Tried this too: echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue Tried other forum posts but not able to solve it.Please help DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 46 تاريخ : يکشنبه 1 بهمن 1402 ساعت: 18:00